package mx.ipn.escom.segi

class Alumno extends Persona{
    String boleta
    String password
    byte[] avatar

    static belongsTo = Clase
    static hasMany = [clases:Clase]

    static constraints = {
        boleta(blank:false, minSize:10)
        password(blank:false, minSize:6)
        avatar(nullable:true)
    }
}